home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
misc
/
ftriang3.lha
/
ftriangles.readme
< prev
Wrap
Text File
|
1993-11-15
|
2KB
|
45 lines
Hi.
This is the second in a series of Stupid Picasso Tricks. ftriangles displays
random Gouraud-shaded triangles on a 24-bit 640x480 Picasso II screen.
ftriangles v3.0 is slightly slower than v2.0 (very slightly, see chart), and
has a horrible bug fixed. Toss v2.0 and use this one!
ftriangles takes one parameter, the number of triangles to display. The
default if no parameter is given is 10. You can safely run it with a very
large number, as in 'ftriangles 1000000', and abort it when bored. Any mouse
click or key should cause it to exit after the current triangle completes.
If you feed it a negative number, such as -100, it will run in performance test
mode. In this mode, it may not be aborted. To get results which may be fairly
compared, you should leave the Picasso screen in front until it's done. With
a negative parameter, the random number generator with a constant, so as to get
reproducible results.
Here are some performance results from my A4000/040:
v1.0:
ftriangles -100
drew 100 triangles in 27 seconds, performance of 3.70 triangles/second
ftriangles -500
drew 500 triangles in 131 seconds, performance of 3.82 triangles/second
v2.0:
ftriangles -100
drew 100 triangles in 10.90 seconds, performance of 9.18 triangles/second
ftriangles -500
drew 500 triangles in 48.86 seconds, performance of 10.23 triangles/second
v3.0:
ftriangles -100
drew 100 triangles in 10.94 seconds, performance of 9.14 triangles/second
ftriangles -500
drew 500 triangles in 48.96 seconds, performance of 10.21 triangles/second
Have fun!
_john
grieggs@netcom.com
johng@shell.portal.com